home *** CD-ROM | disk | FTP | other *** search
- % header
- 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- % end of app-specific header
- 00FF 0000 0000 00FF 00FF % pict size (bogus) and top left bottom right
- 11 01 % verson
- 01 000A 0000 0000 00FF 00FF % Clip region. Added to keep Mac tester happy.
- 30 0000 0000 00FF 00FF % draw bounding rect
-
- 02 AA AA AA AA AA AA AA AA % fill pat
- 09 FF FF FF FF FF FF FF FF % pn pat
- 0A AA 55 AA 55 AA 55 AA 55 % back pat
-
- % draw lines along its four sides
- 20 0010 0000 0010 00FF
- 20 0000 0010 00FF 0010
- 20 0050 0000 0050 00FF
- 20 0000 0050 00FF 0050
-
- 20 0000 0080 00FF 0080
- 20 0000 00C0 00FF 00C0
-
- 20 0080 0000 0080 00FF
- 20 00C0 0000 00C0 00FF
-
- 09 FF FF FF FF FF FF FF FF % pn pat
-
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %
- % Do the standard opcode test, but for arcs.:
- % This involves using each of the 5 primary opcodes
- % (frame, paint, erase, invert, and fill) for arcs in
- % a nice square little grid. This allows us to visually
- % test that each opcode minimially does what it should, and
- % that pixels are being drawn in the right places (i.e.
- % that they touch the grid we drew above in the right places
- % and not in others) Keep all the arcs between 270 and
- % 360 degrees so they touch all edges.
- %
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-
-
- % Frame an arc
- 60 0010 0010 0050 0050 0000 0130
-
- % paint an adjacent one
- 61 0010 0080 0050 00C0 0000 0130
-
- % try to invert the painted one (ha ha)
- 63 0010 0080 0050 00C0 0000 0130
-
- % fill one below one
- 64 0080 0080 00C0 00C0 0000 0130
-
- % erase a different one
- 62 0080 0010 00C0 0050 0000 0130
-
-
-
- FF % end
-